<extend file='resource/view/master'/>
<block name="content">
    <ul class="nav nav-tabs" role="tablist">
        <li><a href="{{u('index')}}">类型管理</a></li>
        <li class="active"><a href="#">修改类型</a></li>
    </ul>
    <form class="form-horizontal" id="form" action="" method="post">
        <input type="hidden" name="tid" value="{{ $_GET['tid'] }}">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">修改类型</h3>
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">修改名称</label>
                    <div class="col-sm-9">
                        <input type="text" name="tname"  class="form-control" value="{{$oldData['tname']}}">
                    </div>
                </div>
            </div>
        </div>
        <input type="hidden" name="tid" value="{{q('get.tid')}}">
        <button class="btn btn-primary" type="submit">确定</button>
    </form>
</block>
